ns16550: PCI initialization adjustments
authorJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2012 13:55:33 +0000 (15:55 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2012 13:55:33 +0000 (15:55 +0200)
commit631126d92d7baa9d6a219aad27db2afeed05e392
tree3953c5a48f4a00c9d7ecbf6fa3a2443e5a6a21bb
parent65132d844309569ad6ffc88011bd8a70a6a4b61c
ns16550: PCI initialization adjustments

Besides single-port serial cards, also accept multi-port ones and such
providing mixed functionality (e.g. also having a parallel port).

Reading PCI_INTERRUPT_PIN before ACPI gets enabled generally produces
an incorrect IRQ (below 16, whereas after enabling ACPI it frequently
would end up at a higher one), so this is useful (almost) only when a
system already boots in ACPI mode.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/drivers/char/ns16550.c